function remWidth() {
    let  Width = document.documentElement.clientWidth;
     
   if(Width>1000)
           Width=1920

   document.documentElement.style.fontSize = Width / 19 + 'px';
   document.querySelector('body').style.fontSize = 0.3 + 'rem';
  
}
remWidth();
window.onresize = function () {
   remWidth();
};
